-- GENERATED SPELL FOR [Scourged Mammoth] --


function spell0_25452(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(15550,pUnit)
pUnit:RegisterEvent('Sorts_25452', 657, 1)
end

function Sorts_25452(pUnit, Event)
local choix_sorts_25452 = math.random(0, 0)
if choix_sorts_25452 == 0 then
pUnit:RegisterEvent('spell0_25452', 1, 1)
end
end

function mob25452_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25452', math.random(1500, 3000), 1)
end

function mob25452_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25452_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25452_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25452, 1, 'mob25452_Action')
RegisterUnitEvent(25452, 2, 'mob25452_Leave')
RegisterUnitEvent(25452, 3, 'mob25452_Kill')
RegisterUnitEvent(25452, 4, 'mob25452_Die')
